crypto/tls.SessionState.peerCertificates (field)
18 uses
crypto/tls (current package)
handshake_client.go#L328: if c.config.time().After(session.peerCertificates[0].NotAfter) {
handshake_client.go#L338: if err := session.peerCertificates[0].VerifyHostname(c.config.ServerName); err != nil {
handshake_client.go#L809: c.peerCertificates = hs.session.peerCertificates
handshake_client_tls13.go#L364: c.peerCertificates = hs.session.peerCertificates
handshake_server.go#L466: sessionHasClientCerts := len(sessionState.peerCertificates) != 0
handshake_server.go#L474: if sessionHasClientCerts && c.config.time().After(sessionState.peerCertificates[0].NotAfter) {
handshake_server.go#L492: c.peerCertificates = sessionState.peerCertificates
handshake_server_tls13.go#L330: sessionHasClientCerts := len(sessionState.peerCertificates) != 0
handshake_server_tls13.go#L338: if sessionHasClientCerts && c.config.time().After(sessionState.peerCertificates[0].NotAfter) {
handshake_server_tls13.go#L380: c.peerCertificates = sessionState.peerCertificates
ticket.go#L89: peerCertificates []*x509.Certificate
ticket.go#L138: Certificate: certificatesToBytesSlice(s.peerCertificates),
ticket.go#L229: ss.peerCertificates = append(ss.peerCertificates, c.cert)
ticket.go#L243: if len(ss.peerCertificates) == 0 {
ticket.go#L246: chain = append(chain, ss.peerCertificates[0])
ticket.go#L275: if len(ss.peerCertificates) == 0 {
ticket.go#L298: peerCertificates: c.peerCertificates,
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |